<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <title>拼餐APP - 首页</title>
    <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        :root {
            --douyin-red: #FE2C55;
            --dark-bg: #121212;
            --card-bg: #1F1F1F;
            --text-primary: #FFFFFF;
            --text-secondary: #8A8A8A;
        }
         /* 隐藏整个滚动条 */
        .no-scrollbar {
            scrollbar-width: none; /* For Firefox */
            -ms-overflow-style: none; /* For Internet Explorer and Edge */
        }

        .no-scrollbar::-webkit-scrollbar {
            display: none; /* For Chrome, Safari, and Opera */
        }
        body {
            background-color: #f5f5f5;
            font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
            -webkit-font-smoothing: antialiased;
            margin: 0;
            padding: 0;
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        /* iPhone 6 样式 */
        .iphone-frame {
            width: 375px;
            height: 667px;
            background: #1A1A1A;
            box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
            position: relative;
            overflow: hidden;
            box-sizing: content-box;
        }
        
        .side-button {
            position: absolute;
            background: #2A2A2A;
            width: 3px;
            right: -13px;
            border-radius: 2px;
        }
        
        .power-button {
            height: 40px;
            top: 100px;
        }
        
        .volume-up {
            height: 30px;
            top: 180px;
        }
        
        .volume-down {
            height: 30px;
            top: 220px;
        }
        
        
        .app-screen {
            width: 100%;
            height: 100%;
            background-color: var(--dark-bg);
            overflow-y: auto;
            position: relative;
        }
        
        /* App UI Styles */
        .search-bar {
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 8px;
            margin: 8px 12px;
            display: flex;
            align-items: center;
            padding: 8px 12px;
        }
        
        .location-picker {
            display: flex;
            align-items: center;
            color: var(--text-primary);
            font-weight: 500;
            padding: 0 12px;
            margin-top: 5px;
            font-size: 14px;
        }
        
        .carousel {
            padding: 12px;
            overflow-x: auto;
            white-space: nowrap;
            scrollbar-width: none;
            margin-top: 5px;
        }
        
        .carousel::-webkit-scrollbar {
            display: none;
        }
        
        .carousel-card {
            display: inline-block;
            background: linear-gradient(135deg, #FF4D67, #FF8A9A);
            border-radius: 12px;
            margin-right: 12px;
            width: 240px;
            height: 140px;
            position: relative;
            overflow: hidden;
        }
        
        .restaurant-card {
            background-color: var(--card-bg);
            border-radius: 10px;
            margin: 10px 12px;
            overflow: hidden;
        }
        
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background-color: rgba(15, 15, 15, 0.95);
            display: flex;
            justify-content: space-around;
            padding: 8px 0;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            z-index: 90;
        }
        
        .nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            color: var(--text-secondary);
            font-size: 11px;
        }
        
        .nav-item.active {
            color: var(--douyin-red);
        }
        
        .create-btn {
            background-color: var(--douyin-red);
            position: fixed;
            bottom: 60px;
            right: 16px;
            width: 50px;
            height: 50px;
            border-radius: 25px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 12px rgba(254, 44, 85, 0.4);
            z-index: 90;
        }
        
        .filter-tags {
            display: flex;
            padding: 0 12px;
            overflow-x: auto;
            white-space: nowrap;
            scrollbar-width: none;
        }
        
        .filter-tags::-webkit-scrollbar {
            display: none;
        }
        
        .tag {
            display: inline-block;
            padding: 5px 12px;
            margin-right: 6px;
            border-radius: 16px;
            background: rgba(255, 255, 255, 0.1);
            color: var(--text-primary);
            font-size: 11px;
        }
        
        .tag.active {
            background: var(--douyin-red);
        }
        
        .divider {
            height: 6px;
            background-color: rgba(0, 0, 0, 0.3);
            margin: 6px 0;
        }
        
        /* 动画效果 */
        @keyframes pulse {
            0% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.05);
            }
            100% {
                transform: scale(1);
            }
        }
        
        .pulse {
            animation: pulse 2s infinite;
        }
        
        .badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background-color: var(--douyin-red);
            color: white;
            border-radius: 8px;
            min-width: 16px;
            height: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 10px;
            font-weight: bold;
        }
    </style>
</head>
<body>
    <div id="app">
        <!-- iPhone 6 外壳 -->
        <div class="iphone-frame">
            <div class="side-button power-button"></div>
            <div class="side-button volume-up"></div>
            <div class="side-button volume-down"></div>
            
            <!-- App 屏幕 -->
            <div class="app-screen no-scrollbar">
                
                <!-- 定位和搜索区 -->
                <div class="location-picker">
                    <i class="fa-solid fa-location-dot mr-1"></i>
                    <span>上海市浦东新区</span>
                    <i class="fa-solid fa-chevron-down ml-1"></i>
                </div>
                
                <div class="search-bar">
                    <i class="fa-solid fa-magnifying-glass mr-2 text-gray-400"></i>
                    <span class="text-gray-400">搜索餐厅或美食</span>
                </div>
                
                <!-- 筛选标签 -->
                <div class="filter-tags mt-2">
                    <div class="tag active">推荐</div>
                    <div class="tag">附近</div>
                    <div class="tag">高分优先</div>
                    <div class="tag">价格优先</div>
                    <div class="tag">西餐</div>
                    <div class="tag">中餐</div>
                    <div class="tag">日料</div>
                    <div class="tag">快餐</div>
                </div>
                
                <!-- 轮播热门拼餐活动 -->
                <div class="mt-3">
                    <div class="px-3 flex justify-between items-center">
                        <div class="text-white font-semibold">热门拼餐</div>
                        <div class="text-gray-400 text-sm">查看全部 ></div>
                    </div>
                    <div class="carousel mt-1">
                        <div class="carousel-card pulse">
                            <img src="https://images.unsplash.com/photo-1600891964092-4316c288032e?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80" class="w-full h-full object-cover opacity-80">
                            <div class="absolute bottom-0 left-0 p-3 w-full bg-gradient-to-t from-black to-transparent">
                                <div class="flex items-center">
                                    <div class="bg-white text-red-500 rounded-full w-7 h-7 flex items-center justify-center mr-2">
                                        <i class="fa-solid fa-user-group"></i>
                                    </div>
                                    <div>
                                        <div class="text-white font-bold text-sm">海底捞火锅聚会</div>
                                        <div class="text-gray-200 text-xs mt-1">还差1人 · 今天 19:30</div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="carousel-card">
                            <img src="https://images.unsplash.com/photo-1476224203421-9ac39bcb3327?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80" class="w-full h-full object-cover opacity-80">
                            <div class="absolute bottom-0 left-0 p-3 w-full bg-gradient-to-t from-black to-transparent">
                                <div class="flex items-center">
                                    <div class="bg-white text-red-500 rounded-full w-7 h-7 flex items-center justify-center mr-2">
                                        <i class="fa-solid fa-user-group"></i>
                                    </div>
                                    <div>
                                        <div class="text-white font-bold text-sm">星巴克下午茶</div>
                                        <div class="text-gray-200 text-xs mt-1">还差2人 · 明天 14:00</div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="carousel-card">
                            <img src="https://images.unsplash.com/photo-1555396273-367ea4eb4db5?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80" class="w-full h-full object-cover opacity-80">
                            <div class="absolute bottom-0 left-0 p-3 w-full bg-gradient-to-t from-black to-transparent">
                                <div class="flex items-center">
                                    <div class="bg-white text-red-500 rounded-full w-7 h-7 flex items-center justify-center mr-2">
                                        <i class="fa-solid fa-user-group"></i>
                                    </div>
                                    <div>
                                        <div class="text-white font-bold text-sm">日料无限量自助</div>
                                        <div class="text-gray-200 text-xs mt-1">还差3人 · 周五 18:30</div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div class="divider"></div>
                
                <!-- 附近餐厅列表 -->
                <div class="mt-2 mb-16">
                    <div class="px-3 flex justify-between items-center">
                        <div class="text-white font-semibold">附近餐厅</div>
                        <div class="text-gray-400 text-sm">更多筛选 <i class="fa-solid fa-filter"></i></div>
                    </div>
                    
                    <!-- 餐厅卡片1 -->
                    <div class="restaurant-card mt-2">
                        <img src="https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80" class="w-full h-36 object-cover">
                        <div class="p-2">
                            <div class="flex justify-between items-center">
                                <div class="text-white font-semibold">星期五餐厅 (Friday's)</div>
                                <div class="bg-yellow-500 text-white px-2 py-1 rounded text-xs">4.8分</div>
                            </div>
                            <div class="flex mt-1 items-center text-gray-400 text-xs">
                                <div class="mr-3">美式 · 牛排</div>
                                <div>¥128/人</div>
                                <div class="flex-grow text-right">500m</div>
                            </div>
                            <div class="mt-1 pt-1 border-t border-gray-700 flex justify-between items-center">
                                <div class="text-xs text-gray-400">
                                    <i class="fa-solid fa-user-group mr-1"></i>当前有2个拼餐
                                </div>
                                <div class="text-red-500 text-xs">
                                    最高减¥50 <i class="fa-solid fa-chevron-right"></i>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 餐厅卡片2 -->
                    <div class="restaurant-card mt-2">
                        <img src="https://images.unsplash.com/photo-1550966871-3ed3cdb5ed0c?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80" class="w-full h-36 object-cover">
                        <div class="p-2">
                            <div class="flex justify-between items-center">
                                <div class="text-white font-semibold">御宴日式料理</div>
                                <div class="bg-yellow-500 text-white px-2 py-1 rounded text-xs">4.6分</div>
                            </div>
                            <div class="flex mt-1 items-center text-gray-400 text-xs">
                                <div class="mr-3">日式 · 寿司</div>
                                <div>¥198/人</div>
                                <div class="flex-grow text-right">1.2km</div>
                            </div>
                            <div class="mt-1 pt-1 border-t border-gray-700 flex justify-between items-center">
                                <div class="text-xs text-gray-400">
                                    <i class="fa-solid fa-user-group mr-1"></i>当前有1个拼餐
                                </div>
                                <div class="text-red-500 text-xs">
                                    最高减¥80 <i class="fa-solid fa-chevron-right"></i>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 餐厅卡片3 -->
                    <div class="restaurant-card mt-2">
                        <img src="https://images.unsplash.com/photo-1555396273-367ea4eb4db5?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80" class="w-full h-36 object-cover">
                        <div class="p-2">
                            <div class="flex justify-between items-center">
                                <div class="text-white font-semibold">粤悦轩粤菜馆</div>
                                <div class="bg-yellow-500 text-white px-2 py-1 rounded text-xs">4.7分</div>
                            </div>
                            <div class="flex mt-1 items-center text-gray-400 text-xs">
                                <div class="mr-3">粤菜 · 海鲜</div>
                                <div>¥168/人</div>
                                <div class="flex-grow text-right">800m</div>
                            </div>
                            <div class="mt-1 pt-1 border-t border-gray-700 flex justify-between items-center">
                                <div class="text-xs text-gray-400">
                                    <i class="fa-solid fa-user-group mr-1"></i>当前有3个拼餐
                                </div>
                                <div class="text-red-500 text-xs">
                                    最高减¥60 <i class="fa-solid fa-chevron-right"></i>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <!-- 餐厅卡片4 -->
                    <div class="restaurant-card mt-2">
                        <img src="https://images.unsplash.com/photo-1466978913421-dad2ebd01d17?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80" class="w-full h-36 object-cover">
                        <div class="p-2">
                            <div class="flex justify-between items-center">
                                <div class="text-white font-semibold">意味轩意大利餐厅</div>
                                <div class="bg-yellow-500 text-white px-2 py-1 rounded text-xs">4.5分</div>
                            </div>
                            <div class="flex mt-1 items-center text-gray-400 text-xs">
                                <div class="mr-3">意大利 · 披萨</div>
                                <div>¥158/人</div>
                                <div class="flex-grow text-right">1.5km</div>
                            </div>
                            <div class="mt-1 pt-1 border-t border-gray-700 flex justify-between items-center">
                                <div class="text-xs text-gray-400">
                                    <i class="fa-solid fa-user-group mr-1"></i>当前有0个拼餐
                                </div>
                                <div class="text-red-500 text-xs">
                                    新店8.5折 <i class="fa-solid fa-chevron-right"></i>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 底部导航栏 -->
                <div class="bottom-nav">
                    <div class="nav-item active">
                        <i class="fa-solid fa-house text-lg"></i>
                        <div class="mt-1">首页</div>
                    </div>
                    <div class="nav-item">
                        <i class="fa-solid fa-compass text-lg"></i>
                        <div class="mt-1">发现</div>
                    </div>
                    <div class="nav-item">
                        <i class="fa-solid fa-comment text-lg"></i>
                        <div class="mt-1 relative">
                            消息
                            <div class="badge">2</div>
                        </div>
                    </div>
                    <div class="nav-item">
                        <i class="fa-solid fa-user text-lg"></i>
                        <div class="mt-1">我的</div>
                    </div>
                </div>
                
                <!-- 发起拼餐按钮 -->
                <div class="create-btn pulse">
                    <i class="fa-solid fa-plus text-white text-xl"></i>
                </div>
            </div>
        </div>
    </div>
    
    <script>
        const { createApp } = Vue
        
        createApp({
            data() {
                return {
                    // 数据可在这里定义
                }
            },
            methods: {
                // 方法可在这里定义
            }
        }).mount('#app')
    </script>
</body>
</html> 